#include<iostream>
#include<cmath>
using namespace std;
bool Prime(int n)
{
	int k = 2;
	for (; k * k <= n; k++) {
		if (n % k == 0) {
			return 0;
		}
	}
	return 1;
}
void fun(int n)
{
	for (int i = 2; i <= n; i++) {
		int j = n - i;
		if (Prime(j) &&Prime(i)) {
			cout << n << "=" << i << "+" << j << endl;
			return;
		}
	}
}
int main()
{
	int n;
	cin >> n;
	if (n < 4) {
		return 0;
	}
	for (int i = 4; i <= n; i+=2) {
		fun(i);
	}
	return 0;
}